import 'package:flutter/material.dart';

class CustomDialog extends StatelessWidget {
  final String image;

  CustomDialog({
    this.image,
  });

  @override
  Widget build(BuildContext context) {
    return Dialog(
      elevation: 0.0,
      backgroundColor: Colors.transparent,
      child: Image(
        image: AssetImage(this.image),
      ),
    );
  }
}